package com.greenhouse.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.greenhouse.common.annotation.Excel;
import com.greenhouse.common.core.domain.BaseEntity;

/**
 * 虫情监测结果对象 biz_insect_situation
 * 
 * @author greenhouse
 * @date 2021-05-13
 */
public class BizInsectSituation extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** $column.columnComment */
	@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
	private Long id;

	/** 摄像头代码 */
	private String cameraCode;

	/** 摄像头名称 */
	@Excel(name = "摄像头名称")
	private String cameraName;

	/** 虫情监测算法代码 */
	private String algorithmCode;

	/** 虫情监测算法 */
	@Excel(name = "虫情监测算法")
	private String algorithmName;

	/** 昆虫类型 */
	@Excel(name = "昆虫类型")
	private String insectType;

	/** 虫情等级 */
	@Excel(name = "虫情等级")
	private String grade;

	/** $column.columnComment */
	private String picture;

	/** $column.columnComment */
	private String searchValue;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setCameraCode(String cameraCode) {
		this.cameraCode = cameraCode;
	}

	public String getCameraCode() {
		return cameraCode;
	}

	public void setCameraName(String cameraName) {
		this.cameraName = cameraName;
	}

	public String getCameraName() {
		return cameraName;
	}

	public void setAlgorithmCode(String algorithmCode) {
		this.algorithmCode = algorithmCode;
	}

	public String getAlgorithmCode() {
		return algorithmCode;
	}

	public void setAlgorithmName(String algorithmName) {
		this.algorithmName = algorithmName;
	}

	public String getAlgorithmName() {
		return algorithmName;
	}

	public void setInsectType(String insectType) {
		this.insectType = insectType;
	}

	public String getInsectType() {
		return insectType;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getGrade() {
		return grade;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getPicture() {
		return picture;
	}

	public void setSearchValue(String searchValue) {
		this.searchValue = searchValue;
	}

	public String getSearchValue() {
		return searchValue;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("cameraCode", getCameraCode()).append("cameraName", getCameraName())
				.append("algorithmCode", getAlgorithmCode()).append("algorithmName", getAlgorithmName())
				.append("insectType", getInsectType()).append("grade", getGrade()).append("picture", getPicture())
				.append("updateTime", getUpdateTime()).append("searchValue", getSearchValue())
				.append("createBy", getCreateBy()).append("updateBy", getUpdateBy()).append("remark", getRemark())
				.append("createTime", getCreateTime()).toString();
	}
}
